package office.service.hr;

import java.util.List;

import office.action.hr.form.CarriageEntryForm;
import platform.common.exception.BusinessException;

public interface ICarriageEntryService {

	/**
	 * 获取申请车辆信息
	 * @return
	 * @throws BusinessException
	 */
	public List getCarriageEntryList(String userId) throws BusinessException;
	/**
	 * 编辑申请车辆
	 * @throws BusinessException
	 */
	public void editCarriageEntry(CarriageEntryForm objctForm)throws BusinessException;
	/**
	 * 根据id获取对象
	 * @param id
	 * @return
	 * @throws BusinessException
	 */
	public CarriageEntryForm getById(String id)throws BusinessException;
	/**
	 * 根据id删除对象
	 * @param id
	 * @throws BusinessException
	 */
	public void deleteById(String id)throws BusinessException;
	/**
	 * 审批车辆申请
	 * @param id
	 * @throws BusinessException
	 */
	public void checkById(String id,String carriageId)throws BusinessException;
}
